/**
 * MenuItem
 * 
 * 05/12/2013
 * 
 * Copyright GPL
 */
package com.jtmproject.javiertejedor.classes;
 
/**
 * This class stores each item of main menu
 * @author Javier Tejedor
 */
public class MenuItem {

	private Class<?> activity;
	private int title;
	
	/**
	 * @param imageResource
	 * @param title
	 */
	public MenuItem(int title, Class<?> activity) {
		this.title = title;
		this.activity = activity;
	}

	/**
	 * this returns the title of the item
	 * @return
	 */
	public int getTitle() {
		return title;
	}

	/**
	 * this returns the activity(class) that the item will open.
	 * @return
	 */
	public Class<?> getActivity() {
		return activity;
	}
	
}
